Count text files in current view